@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './calculation.scss';

*{padding:0;margin:0;}
ul,ol{list-style-type:none;}
ins,s,u,del{text-decoration:none}
i{font-style:normal}
th,td,input{font-size:12px;}
img,input{border:none;vertical-align:middle;}
div,dl,dt,dd,form,h1,h2,h3,h4,h5,h6,img,ol,ul,li,table,th,td,p,span,a{border:0;}
html{
  min-width:1330px;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family:"Microsoft YaHei";
  color:rgba(0,0,0,1);
  min-width: 1320px;
}
// body::-webkit-scrollbar{
//   width:5px;
// }
label {
  font-weight: 700;
}
.el-button {
  height:32px !important;
  padding: 0 16px;
  font-size: 12px !important;
}
.el-date-editor{
  height:32px !important;
  .el-input__icon{
    line-height: 26px !important;
  }
  input{
    font-size: 12px !important;
  }
}
// .ant-cascader-picker{
//   width: auto !important;
//   input{
//     height: 32px !important;
//     font-size: 12px !important;
//     width: auto !important;
//   }
// }
.el-input--medium{
  width: auto !important;
  input{
    height: 32px !important;
    font-size: 12px !important;
    width: auto !important;
  }
}
.el-select{
  width: auto !important;
  .el-input--medium{
    width: 100% !important;
    input{
      height: 32px !important;
      font-size: 12px !important;
      width: 100% !important;
    }
  }
}
.el-input--mini{
  width: 100px !important;
  input{
    width: 100% !important;
  }
}
.item-arrow-down{
  padding: 0;
}
.el-cascader--medium{
  line-height: 32px !important;
}
.el-table__body-wrapper{
  min-height:500px !important;
}
.footClass{
  width:100%;
}
//分页器样式修改
.el-pagination{
  .el-pagination__sizes{
    .el-select{
      width: 100px !important;
    }
    .el-input{
      width: 100px !important;
      input{
        height: 32px !important;
        font-size: 12px !important;
        width: 100% !important;
      }
    }
  }
  .el-pagination__jump{
    .el-input--medium{
      width: 50px !important;
      input{
        height: 32px !important;
        font-size: 12px !important;
        width: 100% !important;
      }
    }
  }
}
@media screen and (max-width: 1690px) {
  body{
    // max-width: vmw(1990);
    overflow: auto !important;
  }
  .menberTable_conter {
    .el-transfer-panel{
      width: 325px !important;
      .el-transfer-panel__body{
        width:  325px !important;
        .el-transfer-panel__list{
          width: 325px !important;
        }
      }
    }
  }
  
  .label-span{
    width: 133.33px !important;
  }
   
}

@media screen and (max-width: 1440px) {
  // .login-container{
  //   width:vmw(1220)
  // }
  .head-top{
    width:1340px !important;
  }
}
@media screen and (max-width: 1080px) {
  .footClass{
    width:921px;
  }
}
@media screen and (max-height: 900px) {
  html{
    height:auto !important;
  }
  body{
    max-height: auto !important;
    overflow: auto !important;
  }
  .app-main{
    // height:auto !important;
    overflow: visible !important;
    // margin-bottom: 24px !important;
  }
  .app-container{
    height: auto !important;
  }
  .memberClass{
    height:100% !important;
  }
  .app-container-addClass{
    padding-bottom: 10px !important;
  }
  .memberClassbackground{
    min-height:690px !important;
  }
}
@media screen and (max-height: 780px) {
  body{
    max-height: auto !important;
    overflow: auto !important;
  }
  .app-main{
    min-height: auto !important;
    max-height: auto !important;
    // height:750px  !important;
    // overflow: auto;
  }
  .memberClass{
    min-height: auto !important;
    max-height: auto !important;
    height:auto  !important;
  }
  
}
@media screen and (max-height: 760px) {
  .el-table__body-wrapper{
    min-height:500px !important;
  }
  .memberClassbackground{
    min-height:390px !important;
  }
}
html {
  // height: 100%;
  box-sizing: border-box;
  font-size: 16px ;
}

// #app {
//   height: 100%;
// }

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 24px;
  min-width: 1090px;
  // min-height:calc(100vh - 50px) ;
}
.app-container-addClass{
  padding-right:0;
  padding-left:0; 
  background:#fff;
  padding:0 20px;
  flex:1;
  padding-bottom: 24px;
  min-height: 730px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 0;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

.memberServe{
  display: flex;
  // height: 32px;
  justify-content: space-between;
  // align-items: center;
  .memberServe-item1{
    height:34px;
    overflow: hidden;
  }
  .memberServe-develop{
    height:auto !important;
  }
  .memberServe-item2{
    display: flex;
    justify-content: flex-end;
  }
}
//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

// dialog body
.dialog-body {
  overflow: hidden;
  overflow-y: auto;
}
// 首页样式
.head-top{
  display: flex;
  flex-direction: column;
  align-items: center;
  // background-color: #fff;
  height:calc(100vh - 80px);
  width: 100%;
  
  //主题文字样式 
  .head-top-title{
    display:flex;
    // margin-top: 20px;
    // font-weight: 600;
    font-family: '微软雅黑';
    font-size: 20px;
    align-items: center;
    i{
      display:block;
      width:3px;
      height:16px;
      background:#1E87F0;
    }
    p{
      margin:0;
      margin-left:vmh(17);
      // line-height: vmh(16);
    }
  }
  //主题功能按钮
  .head-button{
    display: flex;
    width: 62px;
    height:29px;
    border: solid 1px #eee;
    border-radius: 14px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
  } 
  .head-top-content{
    // background: #f00;
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .head-quick{
      display:flex;
      flex-direction: column; 
      width:120px;
      height:120px;
      align-items: center;
      cursor:pointer;
      font-size: 16px;
      // img{
      //   // max-width: 120px;
      //   // max-height: vmh(140);
      //   // min-width: 60px;
      //   // min-height: 60px;
      // }
      span{
        padding:12px;
        white-space: nowrap;
      }
    }
    .head-quick:hover{
      img{
        opacity: 0.7;
        // background-color:rgba(0, 0, 0, 0.8);
        border-radius: 20px;
      }
      span{
        color: #666;
      }
    }
  }
  .head-top-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 300px;
    // background-color: #337ab7;
    padding:9px 9px 0 9px;
    width: 100%;
    .head-top-item-one{
      height: 100%;
      width: 1018px;
      margin-right: vmw(24);
      background: #fff;
      display: flex;
      flex-direction: column;
    }
    .head-top-item-two{
      height: 100%;
      flex: 1;
      background:#fff;
      display: flex;
      flex-direction: column;
    }
  }
  .head-top-journal-content{
    margin-top:18px;
    padding: 15px;
    // background: chartreuse;
    flex: 1;
    border-top: solid 1px #EEEEEE;
    overflow: auto;
    &::-webkit-scrollbar{
      width:5px;
    }
    &::-webkit-scrollbar-thumb{
      width:3px;
    }
    li{
      display: flex;
      justify-content: space-between;
      line-height: 36px;
      cursor: pointer;
      p{
        display: inline-block;
        margin: 0;
        width: 84px;
        // font-weight: 600;
        white-space: nowrap;
        color: #333333;
      }
      span{
        flex: 1;
        color: #404d54;
        white-space: nowrap;
      }
      i{
        color:#7D8B92;
        white-space: nowrap;
      }
    }
    li:hover{
      color:#1959FB;
      p{
        color:#1959FB;
      }
      i{
        color:#1959FB;
      }
      span{
        color:#1959FB;
      }
    }
  }
}
.head-top-last-item{
  // margin:24px;
  margin-top:vmh(24);
  padding:0 9px 9px 9px;
  width: 100%;
  flex:1;
  // display: flex;
  // flex-direction: column;
  .head-top-last-item-one{
    background: #fff;
    height: 100%;
    width: 100%;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
    .head-top-last-item-content{
      width: 100%;
      flex: 1;
      // background-color: #337ab7;
      div{
        width: 100% !important;
        canvas{
          width: 100% !important;
        }
      }
    }
    .head-top-last-buttons{
      display: flex;
      width: vmw(172);
      justify-content: space-between;
      align-items: center;
      // div{
      //   padding:vmh(7) vmw(23);
      //   background-color: #ECF4FF;
      // }
      .el-radio-group{
        display: flex;
        width: vmw(172);
        justify-content: space-between;
        .el-radio-button--medium{
          .el-radio-button__inner{
            background: #ECF4FF;
          }
          .el-radio-button__orig-radio:checked + .el-radio-button__inner{
            background:#1890ff;
          }
          span{
            border-radius: 6px !important;
            border: none !important;
          }
        }
      }
    }
  }
}

//内容页面 全局样式
.memberClass{
  // height:780px;
  padding: 24px;
  .memberClassbackground{
    padding:20px;
    background: #fff;
    min-height: 870px;
    .list_title_name{
      font-size: 20px;
      font-weight: 600;
      span{
        display: block;
        padding-bottom:24px;
        border-bottom: 1px solid #EDEEF0;
      }
    }
  }
}
